<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>QuantumLibrary: Bloomberg::quantum::CoroutinePoolAllocator&lt; STACK_TRAITS &gt; Struct Template Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">QuantumLibrary
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html','../../');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="../../d4/dd6/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Bloomberg::quantum::CoroutinePoolAllocator&lt; STACK_TRAITS &gt; Struct Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Provides fast (quasi zero-time) in-place allocation for coroutines. Coroutine stacks are pre-allocated from separate (i.e. non-contiguous) heap blocks and maintained in a reusable list.  
 <a href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="../../df/d1f/quantum__coroutine__pool__allocator_8h_source.html">quantum_coroutine_pool_allocator.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:aac66cd90eb6a06e7ba69368d1a97cabd"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">CoroutinePoolAllocator</a>&lt; STACK_TRAITS &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#aac66cd90eb6a06e7ba69368d1a97cabd">this_type</a></td></tr>
<tr class="separator:aac66cd90eb6a06e7ba69368d1a97cabd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb140528bea516215245478f22641d6b"><td class="memItemLeft" align="right" valign="top">typedef size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#aeb140528bea516215245478f22641d6b">size_type</a></td></tr>
<tr class="separator:aeb140528bea516215245478f22641d6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d0537afc0879d9fcb02160f1911e3da"><td class="memItemLeft" align="right" valign="top">typedef uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#a4d0537afc0879d9fcb02160f1911e3da">index_type</a></td></tr>
<tr class="separator:a4d0537afc0879d9fcb02160f1911e3da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7c417f09663e08f77cfff8fde215e4e"><td class="memItemLeft" align="right" valign="top">typedef STACK_TRAITS&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#aa7c417f09663e08f77cfff8fde215e4e">traits</a></td></tr>
<tr class="separator:aa7c417f09663e08f77cfff8fde215e4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a777ecf7eca1488dd021d6945279e57fb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#a777ecf7eca1488dd021d6945279e57fb">CoroutinePoolAllocator</a> (<a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#a4d0537afc0879d9fcb02160f1911e3da">index_type</a> size)</td></tr>
<tr class="separator:a777ecf7eca1488dd021d6945279e57fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe5970230ae25b62a9a849d18168efa0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#abe5970230ae25b62a9a849d18168efa0">CoroutinePoolAllocator</a> (const <a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#aac66cd90eb6a06e7ba69368d1a97cabd">this_type</a> &amp;)=delete</td></tr>
<tr class="separator:abe5970230ae25b62a9a849d18168efa0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3e0c8e3233615712b18ab02de62e20f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#ad3e0c8e3233615712b18ab02de62e20f">CoroutinePoolAllocator</a> (<a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#aac66cd90eb6a06e7ba69368d1a97cabd">this_type</a> &amp;&amp;)</td></tr>
<tr class="separator:ad3e0c8e3233615712b18ab02de62e20f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d0c57b06838120b374238f93b0efb20"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">CoroutinePoolAllocator</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#a1d0c57b06838120b374238f93b0efb20">operator=</a> (const <a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#aac66cd90eb6a06e7ba69368d1a97cabd">this_type</a> &amp;)=delete</td></tr>
<tr class="separator:a1d0c57b06838120b374238f93b0efb20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad19e0fbc391d835c7835d2c5f5372646"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">CoroutinePoolAllocator</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#ad19e0fbc391d835c7835d2c5f5372646">operator=</a> (<a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#aac66cd90eb6a06e7ba69368d1a97cabd">this_type</a> &amp;&amp;)</td></tr>
<tr class="separator:ad19e0fbc391d835c7835d2c5f5372646"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9da759340b01b6f4979c201b7594020b"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#a9da759340b01b6f4979c201b7594020b">~CoroutinePoolAllocator</a> ()</td></tr>
<tr class="separator:a9da759340b01b6f4979c201b7594020b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a468a9ce4e5bc85bc33629f07dec92b4b"><td class="memItemLeft" align="right" valign="top">boost::context::stack_context&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#a468a9ce4e5bc85bc33629f07dec92b4b">allocate</a> ()</td></tr>
<tr class="separator:a468a9ce4e5bc85bc33629f07dec92b4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45167e2ddf384fefbe0bb4c9103712be"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#a45167e2ddf384fefbe0bb4c9103712be">deallocate</a> (const boost::context::stack_context &amp;ctx)</td></tr>
<tr class="separator:a45167e2ddf384fefbe0bb4c9103712be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fe7e965420b603f3bc19e6caf168207"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#a3fe7e965420b603f3bc19e6caf168207">allocatedBlocks</a> () const</td></tr>
<tr class="separator:a3fe7e965420b603f3bc19e6caf168207"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adaa7c84b5b8ee2fa9f838608f534b405"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#adaa7c84b5b8ee2fa9f838608f534b405">allocatedHeapBlocks</a> () const</td></tr>
<tr class="separator:adaa7c84b5b8ee2fa9f838608f534b405"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e249a30241d229c404eb4a4c47c44cb"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#a0e249a30241d229c404eb4a4c47c44cb">isFull</a> () const</td></tr>
<tr class="separator:a0e249a30241d229c404eb4a4c47c44cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af17756f32beff0784891da52f92b5812"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#af17756f32beff0784891da52f92b5812">isEmpty</a> () const</td></tr>
<tr class="separator:af17756f32beff0784891da52f92b5812"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename STACK_TRAITS&gt;<br />
struct Bloomberg::quantum::CoroutinePoolAllocator&lt; STACK_TRAITS &gt;</h3>

<p>Provides fast (quasi zero-time) in-place allocation for coroutines. Coroutine stacks are pre-allocated from separate (i.e. non-contiguous) heap blocks and maintained in a reusable list. </p>
<dl class="section note"><dt>Note</dt><dd>This allocator is thread safe. For internal use only and is meant to replace the boost fixed size pool allocator which crashes. </dd></dl>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a4d0537afc0879d9fcb02160f1911e3da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d0537afc0879d9fcb02160f1911e3da">&#9670;&nbsp;</a></span>index_type</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename STACK_TRAITS &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef uint16_t <a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">Bloomberg::quantum::CoroutinePoolAllocator</a>&lt; STACK_TRAITS &gt;::<a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#a4d0537afc0879d9fcb02160f1911e3da">index_type</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aeb140528bea516215245478f22641d6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb140528bea516215245478f22641d6b">&#9670;&nbsp;</a></span>size_type</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename STACK_TRAITS &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef size_t <a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">Bloomberg::quantum::CoroutinePoolAllocator</a>&lt; STACK_TRAITS &gt;::<a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#aeb140528bea516215245478f22641d6b">size_type</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aac66cd90eb6a06e7ba69368d1a97cabd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac66cd90eb6a06e7ba69368d1a97cabd">&#9670;&nbsp;</a></span>this_type</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename STACK_TRAITS &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">CoroutinePoolAllocator</a>&lt;STACK_TRAITS&gt; <a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">Bloomberg::quantum::CoroutinePoolAllocator</a>&lt; STACK_TRAITS &gt;::<a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#aac66cd90eb6a06e7ba69368d1a97cabd">this_type</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aa7c417f09663e08f77cfff8fde215e4e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7c417f09663e08f77cfff8fde215e4e">&#9670;&nbsp;</a></span>traits</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename STACK_TRAITS &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef STACK_TRAITS <a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">Bloomberg::quantum::CoroutinePoolAllocator</a>&lt; STACK_TRAITS &gt;::<a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#aa7c417f09663e08f77cfff8fde215e4e">traits</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a777ecf7eca1488dd021d6945279e57fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a777ecf7eca1488dd021d6945279e57fb">&#9670;&nbsp;</a></span>CoroutinePoolAllocator() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename STACK_TRAITS &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">Bloomberg::quantum::CoroutinePoolAllocator</a>&lt; STACK_TRAITS &gt;::<a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">CoroutinePoolAllocator</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#a4d0537afc0879d9fcb02160f1911e3da">index_type</a>&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="abe5970230ae25b62a9a849d18168efa0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe5970230ae25b62a9a849d18168efa0">&#9670;&nbsp;</a></span>CoroutinePoolAllocator() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename STACK_TRAITS &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">Bloomberg::quantum::CoroutinePoolAllocator</a>&lt; STACK_TRAITS &gt;::<a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">CoroutinePoolAllocator</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#aac66cd90eb6a06e7ba69368d1a97cabd">this_type</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ad3e0c8e3233615712b18ab02de62e20f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3e0c8e3233615712b18ab02de62e20f">&#9670;&nbsp;</a></span>CoroutinePoolAllocator() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename STACK_TRAITS &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">Bloomberg::quantum::CoroutinePoolAllocator</a>&lt; STACK_TRAITS &gt;::<a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">CoroutinePoolAllocator</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#aac66cd90eb6a06e7ba69368d1a97cabd">this_type</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a9da759340b01b6f4979c201b7594020b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9da759340b01b6f4979c201b7594020b">&#9670;&nbsp;</a></span>~CoroutinePoolAllocator()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename STACK_TRAITS &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">Bloomberg::quantum::CoroutinePoolAllocator</a>&lt; STACK_TRAITS &gt;::~<a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">CoroutinePoolAllocator</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a468a9ce4e5bc85bc33629f07dec92b4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a468a9ce4e5bc85bc33629f07dec92b4b">&#9670;&nbsp;</a></span>allocate()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename STACK_TRAITS &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">boost::context::stack_context <a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">Bloomberg::quantum::CoroutinePoolAllocator</a>&lt; STACK_TRAITS &gt;::allocate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a3fe7e965420b603f3bc19e6caf168207"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3fe7e965420b603f3bc19e6caf168207">&#9670;&nbsp;</a></span>allocatedBlocks()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename STACK_TRAITS &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">Bloomberg::quantum::CoroutinePoolAllocator</a>&lt; STACK_TRAITS &gt;::allocatedBlocks </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="adaa7c84b5b8ee2fa9f838608f534b405"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adaa7c84b5b8ee2fa9f838608f534b405">&#9670;&nbsp;</a></span>allocatedHeapBlocks()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename STACK_TRAITS &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">Bloomberg::quantum::CoroutinePoolAllocator</a>&lt; STACK_TRAITS &gt;::allocatedHeapBlocks </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a45167e2ddf384fefbe0bb4c9103712be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a45167e2ddf384fefbe0bb4c9103712be">&#9670;&nbsp;</a></span>deallocate()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename STACK_TRAITS &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">Bloomberg::quantum::CoroutinePoolAllocator</a>&lt; STACK_TRAITS &gt;::deallocate </td>
          <td>(</td>
          <td class="paramtype">const boost::context::stack_context &amp;&#160;</td>
          <td class="paramname"><em>ctx</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af17756f32beff0784891da52f92b5812"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af17756f32beff0784891da52f92b5812">&#9670;&nbsp;</a></span>isEmpty()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename STACK_TRAITS &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">Bloomberg::quantum::CoroutinePoolAllocator</a>&lt; STACK_TRAITS &gt;::isEmpty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a0e249a30241d229c404eb4a4c47c44cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e249a30241d229c404eb4a4c47c44cb">&#9670;&nbsp;</a></span>isFull()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename STACK_TRAITS &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">Bloomberg::quantum::CoroutinePoolAllocator</a>&lt; STACK_TRAITS &gt;::isFull </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a1d0c57b06838120b374238f93b0efb20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d0c57b06838120b374238f93b0efb20">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename STACK_TRAITS &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">CoroutinePoolAllocator</a>&amp; <a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">Bloomberg::quantum::CoroutinePoolAllocator</a>&lt; STACK_TRAITS &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#aac66cd90eb6a06e7ba69368d1a97cabd">this_type</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ad19e0fbc391d835c7835d2c5f5372646"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad19e0fbc391d835c7835d2c5f5372646">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename STACK_TRAITS &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">CoroutinePoolAllocator</a>&lt; STACK_TRAITS &gt; &amp; <a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">Bloomberg::quantum::CoroutinePoolAllocator</a>&lt; STACK_TRAITS &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html#aac66cd90eb6a06e7ba69368d1a97cabd">this_type</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d6/db9/namespaceBloomberg.html">Bloomberg</a></li><li class="navelem"><a class="el" href="../../dc/d48/namespaceBloomberg_1_1quantum.html">quantum</a></li><li class="navelem"><a class="el" href="../../db/d67/structBloomberg_1_1quantum_1_1CoroutinePoolAllocator.html">CoroutinePoolAllocator</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
  </ul>
</div>
</body>
</html>
